﻿using ZR.Model;
using ZR.Model.Souvenir;
using ZR.Model.Souvenir.Dto;

namespace ZR.Service.Souvenir.IService
{
    public interface IProductService : IBaseService<Product>
    {
        Task<int> InsertProductAsync(Product product);
        
        Task<int> UpdateProductAsync(Product product);

        Task<int> DeleteProductAsync(int productId);
        
        Task<PagedInfo<ProductDto>> SelectProductWithPageAsync(ProductQueryDto productQueryDto);
        
        Task<Product> SelectProductAsyncById(int productId);
    }
}